/* 全局样式 */
:root {
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #00d4ff;
    --text-color: #ffffff;
    --text-secondary: #e0e0e0;
    --bg-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #00d4ff 100%);
    --card-bg: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 60, 114, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* 主容器 */
.main-container {
    margin-top: 80px;
}

/* 幻灯片通用样式 */
.slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.slide-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 封面样式 */
.slide-cover {
    background: var(--bg-gradient);
}

.slide-cover .slide-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.slide-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.slide-info {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* 目录样式 */
.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.directory-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
}

.directory-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.directory-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 职业目标样式 */
.goal-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.goal-column {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.goal-column h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.swot-diagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.swot-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.swot-item h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.swot-strength { border-left: 4px solid #4caf50; }
.swot-weakness { border-left: 4px solid #ff9800; }
.swot-opportunity { border-left: 4px solid #2196f3; }
.swot-threat { border-left: 4px solid #f44336; }

/* 甘特图样式 */
.mermaid-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.plan-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.plan-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* 成果展示样式 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.result-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.result-item:hover {
    transform: translateY(-5px);
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 优化机制样式 */
.optimization-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.optimization-cycle {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.cycle-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.optimization-tools {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.optimization-tools h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.optimization-tools ul {
    list-style: none;
}

.optimization-tools li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* 演讲者备注样式 */
.speaker-notes {
    margin-top: 2rem;
}

.notes-toggle {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.notes-toggle:hover {
    background: #00b8e6;
}

.notes-content {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: left;
    display: none;
}

.notes-content.active {
    display: block;
}

.notes-content ul {
    list-style: none;
    padding-left: 1rem;
}

.notes-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.notes-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.3s;
}

.back-to-top:hover {
    background: #00b8e6;
    transform: translateY(-3px);
}

.back-to-top.show {
    display: flex;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(30, 60, 114, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-cover .slide-title {
        font-size: 2.5rem;
    }

    .optimization-content {
        grid-template-columns: 1fr;
    }

    .cycle-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .slide {
        padding: 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .directory-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* Mermaid 图表